package com.xiaofu.service;

import com.xiaofu.request.UserLoginRequest;
import com.xiaofu.request.UserRegisterRequest;
import com.xiaofu.utils.JsonData;
import com.xiaofu.vo.UserVO;

public interface UserService {

    /**
     * 用户注册
     * @param registerRequest
     * @return
     */
    JsonData register(UserRegisterRequest registerRequest);

    /**
     * 用户登录
     * @param request
     * @return
     */
    JsonData login(UserLoginRequest request);

    /**
     * 查看用户详情
     * @return
     */
    UserVO findUserDetail();
}
